beginoutdoorscript;

variables;

body;

beginstate INIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
	message_dialog("You run into a large group of Frowney Knights. One shouts something and points at you. They prepare to attack.","");
break;

beginstate 11;
	message_dialog("You finish off the last of the Frowney Knights. That's one less enemy patrol you must worry about.","");
break;

beginstate 12;
	if(get_flag(0,2)==0){
	message_dialog("You walk out of the Smiling Keep. You are greeted by a harsh cold. This place feels sinister, without all of the smilies to welcome you.","You shiver. You can make  out the red figures on the other side of a chasm filled with lava.");
	set_flag(0,2,1);
}
break;

beginstate 13;
	if(get_flag(0,3)==0){
	message_dialog("You come to a stop. You see the only path to the other side of the Valley of Faces. It is blocked by two walls.","It seems that both the smileys and the frowneys took the liberty to mark their property.");
	set_flag(0,3,1);
}
break;

beginstate 14;
	message_dialog("A smiley mage acknowledges your presence as you cross the River of Lava.","_Hello! I am Felix,_ it says.");
	reset_dialog();
	add_dialog_str(0,"Felix beckons for you to approach. _King Smiley has sent you here, yes?_ it asks. You nod. _Good!_ Felix says. _Then I may explain your mission._",0);
	add_dialog_str(1,"_King Smiley does not wish to kill the frowneys. He wishes to attempt to make peace, and only if all else fails will we resort to violence._",0);
	add_dialog_str(2,"_Your job is to delivery them a peace offering. But they will never let you come near them. So we must proceed with caution._",0);
	add_dialog_str(3,"_I know of a secret tunnel to the south that leads into their fortress. You will transport the peace offering along that tunnel and deliver it to their king._",0);
	add_dialog_choice(0,"I understand.");
	run_dialog(1);
break;

beginstate 15;
	message_dialog("You stand before the Frowning Fortress.","You decide it would be unsafe to go any further.");
	block_entry(1);
break;
